import java.util.Scanner;

public class Game_6 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String result;
        do {
           System.out.println("请输入0,1,2三个整数");
           int i=input.nextInt();
           switch(i){
               case 0:
                   System.out.println("石头");
                   break;
               case 1:
                   System.out.println("剪刀");
                   break;
               default:
                   System.out.println("布");
                   break;
           }
           System.out.println("继续不");
            result=input.next();
       }while (result=="n");

    }
}
